﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Castle.Windsor;

namespace ThunderJob.Persistence.Dependency
{
    public class ControllerFactory:DefaultControllerFactory
    {
        //private readonly IWindsorContainer container;

        //public ControllerFactory(IWindsorContainer container)
        //{
        //    this.container = container;
        //}

        //protected override IController GetControllerInstance(Type controllerType)
        //{
        //    if (controllerType != null)
        //        return container.Resolve(controllerType) as IController;
        //    return base.GetControllerInstance(controllerType);

        //}
    }
}
